package tech.xs.sys.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import tech.xs.common.framework.domain.model.ApiResult;
import tech.xs.sys.api.domain.SysPermissionBo;

import java.util.List;

@FeignClient(name = "${framework.service.sys.name}", contextId = "SysPermissionApi")
public interface SysPermissionApi {

    @GetMapping("/permission/list/all")
    ApiResult<List<SysPermissionBo>> listAll();

}
